home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
macintosh-c
/
macc-carbon-demos-nonbinhex.sit
/
macc-carbon-demos-nonbinhex
/
chap23-demo-classic events
/
Drag.h.rsrc
/
TEXT_17395.txt
< prev
Wrap
Text File
|
2001-05-31
|
1KB
|
22 lines
// *******************************************************************************************
// Drag.h CARBONIZED. USES CLASSIC EVENT MODEL
// *******************************************************************************************
//
// This program demonstrates drag and drop utilising the Drag Manager. Support for Undo and
// Redo of drag and drop within the source window is included.
//
// The bulk of the code in the source code file Drag.c is identical to the code in the file
// Text1.c in the Chapter 20 TextEdit demonstration program MonoTextEdit.
//
// The program utilises the following resources:
//
// • A 'carb' resource.
//
// • An 'MBAR' resource, and 'MENU' resources for Apple, File, and Edit menus.
//
// • A 'WIND' resource (purgeable) (initially visible).
//
// • 'CNTL' resources (purgeable) for the vertical scroll bars in the text editor window and
// Help dialog, and for the pop-up menu in the Help Dialog.
//
// • A 'STR#' resource (purgea